#ifndef SQUARE_H
#define SQUARE_H

#include "shape.h"



class Square : public Shape
{
    double side;

public:
    Square() {
        x = 0;
        y = 0;
        side = 0;
        rotat = 0;
    }
    Square(double x, double y, double side){
        this->x = x;
        this->y = y;
        this->side = side;
        this->rotat = 0;
    }

    // Shape interface
public:
    std::string type();
    void changePos(int x, int y);
    std::vector<double> getInfo();

};

#endif // SQUARE_H
